const router = require('koa-router')()
const Comment = require('../dbhelper/commentHelper.js')
router.prefix('/comment')

// addComment 增加新反馈
router.post('/addComment', Comment.addComment)

// getCommentByUserToken 获取用户全部反馈
router.post('/getCommentByUserToken', Comment.getCommentByUserToken)

// delCommentById  删除一条反馈
router.post('/delCommentById', Comment.delCommentById)

module.exports = router
